<foreach name="ret" item="v" key="k">
    <section class="am-panel am-panel-default am-u-sm-12">
        <div class="section-text am-panel-bd am-u-sm-12 am-u-lg-4">
            <{$v.examtitle}>
        </div>
        <div class="am-panel-bd am-u-sm-12 am-u-lg-6 section-font-body-size section-text">
            <div class="am-u-sm-6 am-u-md-6 padding-left-opx">做题时长：<span><{:intval(($v['finish_time']-$v['start_time'])/60)}>分钟</span> </div>
            <div class="am-u-sm-6 am-u-md-6 padding-left-opx">最后得分：<span><{$v.finally_score}></span> </div>
        </div>
        <div class="am-show-lg-only section-text am-panel-bd am-u-md-12 am-u-lg-2">
            <a href="<{:U('Cs/Index/Index',array('assignmentid'=>$v['id']))}>" class="am-btn am-btn-secondary am-btn-sm">查看详情</a>
        </div>
        <div class="am-show-md-down section-text am-panel-bd am-u-sm-12 am-u-lg-2">
            <a href="<{:U('Cs/Index/Index',array('assignmentid'=>$v['id']))}>" class="am-btn am-btn-secondary am-btn-block am-btn-sm">查看详情</a>
        </div>
    </section>
</foreach>